from app import create_app, get_socketio

app = create_app()
socketio = get_socketio()

if __name__ == "__main__":
    # 使用SocketIO运行应用
    # debug=False 避免文件变化时自动重启导致调度器重复启动
    socketio.run(app, host="0.0.0.0", port=8096, debug=False, allow_unsafe_werkzeug=True)


